package com.bianqian.demo.dto;

import lombok.Data;

/**
 * 登录/注册响应DTO
 */
@Data
public class AuthResponse {
    
    private String token;
    private UserInfo userInfo;
    
    public AuthResponse(String token, UserInfo userInfo) {
        this.token = token;
        this.userInfo = userInfo;
    }
}


